@charset "UTF-8";

/* 改变主题色变量 */
$--color-primary: #eb662b;

/* 改变 icon 字体路径变量，必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import "~element-ui/packages/theme-chalk/src/index";


:root {
	--prev-bg-color: #f5f7fa;
	--prev-bg-white: #ffffff;     
  --prev-bg-grey: #fcfcfc;
  --prev-bg-lightgrey: #f5f5f5;
	--prev-color-primary: #eb662b;
  --prev-color-text-red: #fd2626;   
  --prev-color-text-purered: red;
	--prev-color-text-primary: #303133;
	--prev-color-text-regular: #606266;  
  --prev-color-text-grey: #b3b3b3;  
  --prev-color-text-darkgrey: #666666;  
  --prev-color-text-ashes: #4d4d4d;
  --prev-color-text-silvergrey: #6e6e6e;
  --prev-color-text-lightgrey: #909399;
  --prev-color-text-black: #101010;
	--prev-border-color-lighter: #ebeef5;   
	--prev-border-color-extra-light: #f2f6fc;
  --prev-border-color-yellow: #e6a23c;
  --prev-border-color-grey: #cccccc;
  --prev-border-color-lightgrey: #999999;
  --prev-border-color-extra-grey: #dddddd;
  --prev-icon-color-orange: #ff6500;
  --prev-icon-color-bule: #409eff;
  --prev-header-bg-color: #fafafa;
}

html,
body,
#app {
  height: 100%;
}

ul,
li {
  height: auto;
}

body {
  text-rendering: optimizeLegibility;
  /* // font-family: \5fae软雅黑 !important; */
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB",Arial,sans-serif;
  background: var(--prev-border-color-grey);
  overflow: hidden;
  font-size: 14px;
}
.el-table__header-wrapper {
  font-size: 14px;
}
.el-table__row {
  font-size: 14px;
}

.flex {
  display: flex;
}
.action-wrap {
  line-height: 16px !important;
}
.el-main {
  /* // padding-bottom: 0; */
  /* // height: calc(100vh - 55px); */
  background-color: #eff1f4;
  padding: 6px !important;
  overflow: hidden !important;
}

/* // // table hover 背景色 */
.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
  background: #fff0e6 !important;
}

.el-table__body tr.current-row>td.el-table__cell {
  background: #e7e7e7 !important;
}

.wrap-box {
  height: 100%;
  display: flex;
  flex-direction: column;

  .el-aside {
    background: var(--prev-color-primary);
    /* // width: 200px; */
    /* // overflow: hidden; */
  }

  /* // .el-aside::-webkit-scrollbar { display: none !important;  } */

  .nav-box {
    flex-shrink: 0;
  }

  .main-box {
    display: flex;

    /* // flex-grow: 3; */
    .menu-left {
      width: 200px;
    }

    .menu-right {
      flex: 1;
    }
  }
}


.el-table th {
  height: 48px !important;
}

.el-table th.el-table__cell {
  background: var(--prev-bg-lightgrey) !important;
  color: #333333 !important;
}

.el-table th.el-table__cell:first-child .cell:first-child {
  border: none !important;
}

.el-table th.el-table__cell .cell {
  border-left: 1px solid var(--prev-border-color-grey) !important;
  height: 20px !important;
  /* line-height: 23px; */
  display: flex !important;
  align-items: center !important;
}


/* // 按钮图标 */
.el-button {
  .iconfont {
    font-size: 12px;
  }
}

.table-box .el-card__body {
  // display: flex;
  // // height: calc(100vh - 200px);
  // flex-direction: column;
  // overflow: auto;
}

.el-dialog {
  border-radius: 10px;
}

.el-dialog__body {
  padding: 20px;
}

.el-dialog__header {
  border-bottom: none;
  background: var(--prev-header-bg-color);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 13px;
}

.el-message-box {
  border-radius: 10px;
}

.el-message-box__header {
  background: var(--prev-header-bg-color);
  padding: 12px 15px;
}

.el-dialog__footer {
  padding: 15px;
}

.dialog-footer {
  .el-button--default {
    border: 1px solid var(--prev-color-primary);
    color: var(--prev-color-primary);
  }
}

// ::-webkit-scrollbar {
//   width: 9px;
//   height: 9px;
// }

// ::-webkit-scrollbar-track {
//   width: 6px;
//   background: rgba(#101f1c, 0.1);
//   -webkit-border-radius: 2em;
//   -moz-border-radius: 2em;
//   border-radius: 2em;
// }

// ::-webkit-scrollbar-thumb {
//   background-color: rgba(#101f1c, 0.5);
//   background-clip: padding-box;
//   min-height: 28px;
//   -webkit-border-radius: 2em;
//   -moz-border-radius: 2em;
//   border-radius: 2em;
// }


::-webkit-scrollbar-thumb:hover {
  background-color: rgba(#101f1c, 0.5);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
  scrollbar-width: thin; //滚动条变细，为none时隐藏滚动条
}
// 滚动条的轨道的两端按钮，允许通过点击微调小方块的位置。
::-webkit-scrollbar-button {
  display: none;
}
// 滚动条的轨道（里面装有Thumb）
::-webkit-scrollbar-track {
  background: transparent;
}
// 滚动条的轨道（里面装有Thumb）
::-webkit-scrollbar-track-piece {
  background-color: transparent;
}
// 滚动条里面的小方块，能向上向下移动（或往左往右移动，取决于是垂直滚动条还是水平滚动条）
::-webkit-scrollbar-thumb {
  background: rgba(144, 147, 153, 0.3);
  cursor: pointer;
  border-radius: 4px;
}
// 边角，即两个滚动条的交汇处
::-webkit-scrollbar-corner {
  display: none;
}
// 两个滚动条的交汇处上用于通过拖动调整元素大小的小控件
::-webkit-resizer {
  display: none;
}



ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.el-menu {
  border: 0;
}

.color-success {
  color: #67c23a;
}

.color-error {
  color: var(--prev-color-text-purered);
}

.el-icon-plus {
  border: none !important;
}

.el-message {
  z-index: 9999 !important;
}

/*去除a标签下划线*/
a {
  text-decoration: none;
  color: var(--prev-color-primary);
  font-size: 14px;
  font-weight: 400;
}

/*去除未被访问的a标签的下划线*/
a:link {
  text-decoration: none;
}

/*去除已经被访问过的a标签的下划线*/
a:visited {
  text-decoration: none;
}

/*去除鼠标悬停时的a标签的下划线*/
a:hover {
  text-decoration: none;
}

/*去除正在点击的a标签的下划线（鼠标按下，尚未松开）*/
a:active {
  text-decoration: none;
}

/*去除获得焦点的a标签的下划线（被鼠标点击过）*/
a:focus {
  text-decoration: none;
}

.f12 {
  font-size: 12px !important;
}

.f14 {
  font-size: 14px !important;
}

.f18 {
  font-size: 18px !important;
}

.c-primary {
  color: var(--prev-color-primary) !important;
}

.c-grey {
  color: var(--prev-border-color-lightgrey);
}

.c-danger {
  color: var(--prev-color-text-purered);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.el-popover {
  min-width: 60px !important;
}

.dialog-footer {
  text-align: center;
}

.pt10 {
  padding-top: 10px !important;
}

/** 外边距 **/
.mt10 {
  margin-top: 10px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.ml20 {
  margin-left: 20px !important;
}

.mr5 {
  margin-right: 5px !important;
}

.mr10 {
  margin-right: 10px !important;
}

.mr20 {
  margin-right: 20px !important;
}

.mlr10 {
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.divider-line {
  border-bottom: 1px dashed var(--prev-border-color-grey);
  margin-bottom: 20px;
}

.divider-line-solid {
  border-bottom: 1px solid var(--prev-bg-lightgrey);
  margin-bottom: 20px;
}

.empty_img {
  width: 300px;
}

.empty_size {
  font-size: 14px;
  letter-spacing: 2px;
}

.order-type {
  color: var(--prev-color-primary);
  background: #fdf0ea;
  padding: 1px 8px;
  font-size: 12px;
  border-radius: 3px;
  margin: 0 5px;
}

.ellipsis {
  width: 100%;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.el-button--small {
  font-size: 14px;
}

.el-button--medium {
  font-size: 16px;
}

.el-form-item__error {
  font-size: 14px;
  color: #ff0000;
}

.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before,
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before {
  content: '*';
  color: var(--prev-icon-color-orange);
  margin-right: 4px;
}

.el-radio--small.is-bordered {
  height: 36px;
  line-height: 18px;
}

.el-tabs__active-bar {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: var(--prev-icon-color-orange);
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  list-style: none;
  width: 84px;
}

.el-tooltip__popper {
  max-width: 30%;
  display: -webkit-box;
  // overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 15;
  -webkit-box-orient: vertical;
}

.el-tooltip__popper,
.el-tooltip__popper.is-dark {
  // background: rgb(48, 65, 86) !important;
  // color: var(--prev-bg-white) !important;
}

.pointer {
  cursor: pointer;
}

.el-date-editor--daterange.el-input,  
.el-date-editor--daterange.el-input__inner,
.el-date-editor--timerange.el-input,
.el-date-editor--timerange.el-input__inner {
  max-width: 226px !important;
}

.el-input.is-active .el-input__inner, .el-input__inner:focus {
  border-color: var(--prev-color-primary) !important;
}

.el-textarea__inner:focus {
  border-color: var(--prev-color-primary) !important;
}

.el-button--default:hover {
  color: var(--prev-color-primary) !important;
  border-color: #f9d1bf !important;
  background-color: #fdf0ea !important;
}

.el-button--default:active {
  color: #d45c27 !important;
  border-color: #d45c27 !important;
  outline: none;
}

.el-button--primary {
  color: var(--prev-bg-white);
  background-color: var(--prev-color-primary) !important;
  border-color: var(--prev-color-primary) !important
}

.el-button--primary:hover, .el-button--primary:focus {
  background: #ef8555 !important;
  border-color: #ef8555 !important;
  color: #FFFFFF !important;
}

.el-button.is-plain:focus, .el-button.is-plain:hover {
  background: var(--prev-bg-white) !important;
  border-color: var(--prev-color-primary) !important;
  color: var(--prev-color-primary) !important;
}

.el-button--primary:active {
  background: #d45c27 !important;
  border-color: #d45c27 !important;
  color: var(--prev-bg-white) !important;
  outline: 0
}

.el-button--primary.is-active {
  background: #d45c27 !important;
  border-color: #d45c27 !important;
  color: var(--prev-bg-white) !important
}

.el-button--primary.is-disabled,
.el-button--primary.is-disabled:active,
.el-button--primary.is-disabled:focus,
.el-button--primary.is-disabled:hover {
  color: var(--prev-bg-white) !important;
  background-color: #f5b395 !important;
  border-color: #f5b395 !important;
}

.el-button--primary.is-plain {
  color: #EB662B !important;
  background: #fdf0ea !important;
  border-color: #f7c2aa !important;
}

.el-button--primary.is-plain:focus,
.el-button--primary.is-plain:hover {
  background: var(--prev-color-primary) !important;
  border-color: var(--prev-color-primary) !important;
  color: var(--prev-bg-white) !important
}

.el-button--primary.is-plain:active {
  background: #d45c27 !important;
  border-color: #d45c27 !important;
  color: var(--prev-bg-white) !important;
  outline: 0
}

.el-button--text {
  border-color: transparent;
  color: var(--prev-color-primary) !important;
  background: 0 0;
  padding-left: 0;
  padding-right: 0
}

.el-button--text:focus,
.el-button--text:hover {
  color: #ef8555 !important;
  border-color: transparent ;
  background-color: transparent 
}

.el-button--text:active {
  color: #d45c27 !important;
  border-color: transparent ;
  background-color: transparent
}